<template>
  <div class="app-container">
      <h2 style="text-align: center;">最终发布</h2>
    <el-steps :active="3" process-status="wait" align-center style="margin-bottom: 40px;">
      <el-step title="填写基本信息"/>
      <el-step title="发布视频"/>
      <el-step title="最终发布"/>
    </el-steps>
     <div>
        <el-button @click="previous">上一步</el-button>
        <el-button :disabled="saveBtnDisabled" type="primary" @click="publish">发布</el-button>
    </div>
  </div>
</template>

<script>
export default {
    data(){
        return{
          video:{
            videoId:'',
            videoSourceId: '',
            videoOriginalName:''//视频名称
          }
        }
    },
    created(){
        let data = JSON.parse(this.$route.query.res)
        this.video=data;
    },
    methods:{


         previous() {
            this.$router.push({path:'/vod/info/'+this.video.videoId})
        },
        next() {
            
            this.$router.push({path:'/vod/publish',query:{res:data}})
        }
    }
}
</script>

